import axios, { ResponseData } from './index'
import { AxiosPromise } from 'axios'
// interface LoginReqArguInterface {
//     user_name: string;
//     password: number | string
// }
// export const loginReq = (data: LoginReqArguInterface): AxiosPromise<ResponseData> => {
//     return axios.request({
//         url: '/api/user/login',
//         data,
//         method: 'POST'
//     })
// }
interface houseTagName {
    houseTagName: string
}
export const testFun = (params:houseTagName): AxiosPromise<ResponseData> => {
    return axios.request({
        url: '/api/houseInfo/findByTagName',
        params,
        method: 'GET'
    })
}